diff options
Diffstat (limited to 'src/routes/(app)/qr/[text]/+page.server.js')
| -rw-r--r-- | src/routes/(app)/qr/[text]/+page.server.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/qr/[text]/+page.server.js b/src/routes/(app)/qr/[text]/+page.server.js index 3ab0725f..5eaafe57 100644 --- a/src/routes/(app)/qr/[text]/+page.server.js +++ b/src/routes/(app)/qr/[text]/+page.server.js @@ -1,8 +1,8 @@ -import Qr from 'qrcode-base64'; +import Qr from "qrcode-base64"; export async function load({ params }) { - let { text } = params; - let src = Qr.drawImg(text, { size: 600 }); + let { text } = params; + let src = Qr.drawImg(text, { size: 600 }); - return { src, text }; + return { src, text }; } |
